package com.yanchangapp.model.response;

import com.yanchangapp.model.bean.MailAtmentBean;
import com.yanchangapp.model.bean.MailUserBean;

import java.util.List;

public class MailDetailResponse {

    /**
     * msg : success
     * code : 0
     * data : {"id":804221,"uid":104,"userId":260014,"username":"huangyuxin","senderAddress":"dingling@wjsci.com","senderNickname":"丁玲","toUsers":[{"id":2691452,"mailId":804221,"userId":260014,"username":"huangyuxin","nickname":"徐磊","address":"xulei@wjsci.com","type":0,"createId":260031,"createTime":"2019-06-17 18:04:50","updateId":null,"updateTime":null,"deleteFlag":0}],"ccUsers":[{"id":2691453,"mailId":804221,"userId":260014,"username":"huangyuxin","nickname":"黄彧昕","address":"huangyuxin@wjsci.com","type":1,"createId":260031,"createTime":"2019-06-17 18:04:50","updateId":null,"updateTime":null,"deleteFlag":0}],"attachments":[{"id":21483257,"mailId":804221,"cid":null,"userId":260014,"username":"huangyuxin","name":"我的工作项修改内容_研发部门回复_6月11日.docx","size":16569,"path":"https://ftp.wjsci.com:4431/file/mail/5af4b4c4c07d4818b03299670131ff86.docx","createId":null,"createTime":null,"updateId":null,"updateTime":null,"deleteFlag":null,"body":null}],"mailbox":0,"subject":"Fw:Fw:6月17日 桥接四方使用体验及意见","content":"<html><br><br><br><br><br><br><br>------------原始邮件-----------<br>发件人：王敦云&lt;wangdunyun@wjsci.com&gt;<br>时间：2019-06-17 17:33:26<br>收件人：丁玲&lt;dingling@wjsci.com&gt;;<br>抄送人：<br>主题：Fw:6月17日 桥接四方使用体验及意见<br>内容：<html><br><br><br><br><br><br><br>------------原始邮件-----------<br>发件人：芮翠萍&lt;ruicuiping@extsci.com&gt;<br>时间：2019-06-17 15:18:09<br>收件人：王敦云&lt;wangdunyun@wjsci.com&gt;;<br>抄送人：潘秀兵&lt;pxb@extsci.com&gt;;吴俊&lt;wujun@extsci.com&gt;;朱彬&lt;zhubin@extsci.com&gt;;杨五兵&lt;yangwubing@extsci.com&gt;;潘秀清&lt;panxiuqing@extsci.com&gt;;张晓霖&lt;zhangxiaolin@extsci.com&gt;;沈晖&lt;shenhui@extsci.com&gt;;<br>主题：6月17日 桥接四方使用体验及意见<br>内容：<p data-v-24ca1928=\"\"><br>请查收！<br><br><br><br><\/p><br><\/html><br><\/html>","mailTime":"2019-06-17 18:04:51","forwardFlag":0,"replayFlag":0,"seenFlag":1,"createId":260031,"createTime":"2019-06-17 18:04:50","updateId":260014,"updateTime":"2019-06-17 18:05:19","deleteFlag":0,"attachmentFlag":null}
     */

    private String msg;
    private int code;
    private DataBean data;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 804221
         * uid : 104
         * userId : 260014
         * username : huangyuxin
         * senderAddress : dingling@wjsci.com
         * senderNickname : 丁玲
         * toUsers : [{"id":2691452,"mailId":804221,"userId":260014,"username":"huangyuxin","nickname":"徐磊","address":"xulei@wjsci.com","type":0,"createId":260031,"createTime":"2019-06-17 18:04:50","updateId":null,"updateTime":null,"deleteFlag":0}]
         * ccUsers : [{"id":2691453,"mailId":804221,"userId":260014,"username":"huangyuxin","nickname":"黄彧昕","address":"huangyuxin@wjsci.com","type":1,"createId":260031,"createTime":"2019-06-17 18:04:50","updateId":null,"updateTime":null,"deleteFlag":0}]
         * attachments : [{"id":21483257,"mailId":804221,"cid":null,"userId":260014,"username":"huangyuxin","name":"我的工作项修改内容_研发部门回复_6月11日.docx","size":16569,"path":"https://ftp.wjsci.com:4431/file/mail/5af4b4c4c07d4818b03299670131ff86.docx","createId":null,"createTime":null,"updateId":null,"updateTime":null,"deleteFlag":null,"body":null}]
         * mailbox : 0
         * subject : Fw:Fw:6月17日 桥接四方使用体验及意见
         * content : <html><br><br><br><br><br><br><br>------------原始邮件-----------<br>发件人：王敦云&lt;wangdunyun@wjsci.com&gt;<br>时间：2019-06-17 17:33:26<br>收件人：丁玲&lt;dingling@wjsci.com&gt;;<br>抄送人：<br>主题：Fw:6月17日 桥接四方使用体验及意见<br>内容：<html><br><br><br><br><br><br><br>------------原始邮件-----------<br>发件人：芮翠萍&lt;ruicuiping@extsci.com&gt;<br>时间：2019-06-17 15:18:09<br>收件人：王敦云&lt;wangdunyun@wjsci.com&gt;;<br>抄送人：潘秀兵&lt;pxb@extsci.com&gt;;吴俊&lt;wujun@extsci.com&gt;;朱彬&lt;zhubin@extsci.com&gt;;杨五兵&lt;yangwubing@extsci.com&gt;;潘秀清&lt;panxiuqing@extsci.com&gt;;张晓霖&lt;zhangxiaolin@extsci.com&gt;;沈晖&lt;shenhui@extsci.com&gt;;<br>主题：6月17日 桥接四方使用体验及意见<br>内容：<p data-v-24ca1928=""><br>请查收！<br><br><br><br></p><br></html><br></html>
         * mailTime : 2019-06-17 18:04:51
         * forwardFlag : 0
         * replayFlag : 0
         * seenFlag : 1
         * createId : 260031
         * createTime : 2019-06-17 18:04:50
         * updateId : 260014
         * updateTime : 2019-06-17 18:05:19
         * deleteFlag : 0
         * attachmentFlag : null
         */

        private int id;
        private String username;
        private String senderAddress;
        private String senderNickname;
        private String subject;
        private String content;
        private String mailTime;
        private int forwardFlag;
        private int replayFlag;
        private int seenFlag;
        private int createId;
        private String createTime;
        private List<MailUserBean> toUsers;
        private List<MailUserBean> ccUsers;
        private List<MailAtmentBean> attachments;
        private int contentWidth;

        public int getContentWidth() {
            return contentWidth;
        }

        public void setContentWidth(int contentWidth) {
            this.contentWidth = contentWidth;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public String getSenderAddress() {
            return senderAddress;
        }

        public void setSenderAddress(String senderAddress) {
            this.senderAddress = senderAddress;
        }

        public String getSenderNickname() {
            return senderNickname;
        }

        public void setSenderNickname(String senderNickname) {
            this.senderNickname = senderNickname;
        }

        public String getSubject() {
            return subject;
        }

        public void setSubject(String subject) {
            this.subject = subject;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getMailTime() {
            return mailTime;
        }

        public void setMailTime(String mailTime) {
            this.mailTime = mailTime;
        }

        public int getForwardFlag() {
            return forwardFlag;
        }

        public void setForwardFlag(int forwardFlag) {
            this.forwardFlag = forwardFlag;
        }

        public int getReplayFlag() {
            return replayFlag;
        }

        public void setReplayFlag(int replayFlag) {
            this.replayFlag = replayFlag;
        }

        public int getSeenFlag() {
            return seenFlag;
        }

        public void setSeenFlag(int seenFlag) {
            this.seenFlag = seenFlag;
        }

        public int getCreateId() {
            return createId;
        }

        public void setCreateId(int createId) {
            this.createId = createId;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public List<MailUserBean> getToUsers() {
            return toUsers;
        }

        public void setToUsers(List<MailUserBean> toUsers) {
            this.toUsers = toUsers;
        }

        public List<MailUserBean> getCcUsers() {
            return ccUsers;
        }

        public void setCcUsers(List<MailUserBean> ccUsers) {
            this.ccUsers = ccUsers;
        }

        public List<MailAtmentBean> getAttachments() {
            return attachments;
        }

        public void setAttachments(List<MailAtmentBean> attachments) {
            this.attachments = attachments;
        }


    }
}
